{$query = $form->query}
{if isset($query.table.table_class) }
$result['{$form->form_name}'] =  $this->_modelDb{$query.table.table_class}->{$form->form_variable}($params); 
{else}
$result['{$form->form_name}'] =  array();
{/if}